package com.ruoyi.system.service.impl;

import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.system.domain.vo.AssessmentPlanProcessVO;
import com.ruoyi.system.mapper.AssessmentPlanProcessMapper;
import com.ruoyi.system.service.IAssessmentPlanProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class AssessmentPlanProcessImpl implements IAssessmentPlanProcessService {

    @Autowired
    private AssessmentPlanProcessMapper assessmentPlanProcessMapper;

    @Override
    public List<AssessmentPlanProcessVO> getAssessmentPlanProcessVOList() {
        Long userId= SecurityUtils.getLoginUser().getUserId();
        System.out.println("用户ID:"+userId);
        return assessmentPlanProcessMapper.getAssessmentPlanProcessVOList(userId);
    }
}
